<fieldset>
    <legend>条件搜索</legend>
    <script>
        layui.form.render();
    </script>
    <form action="{:request()->url()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">
        <div class="layui-form-item layui-inline">

            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">名称</label>
                <label class="layui-input-inline">
                    <input class="layui-input" name="name" placeholder="请输入名称" value="{:input('name','')}">
                </label>
            </div>

            <div class="layui-form-item layui-inline">
                <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
            </div>
        </div>
    </form>
</fieldset>